<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>EHS中国信息管理系统</title>
    <script type="text/javascript" src="__ROOT__/Public/Js/jquery-1.5.0.min.js"></script>
    <script type="text/javascript" src="__ROOT__/Public/Js/core.js"></script>
	<style>
	  table{border-collapse:collapse;border:none;line-height:16px;border:1px solid #ccc}
	  body{font-size:14px;}
	</style>
    <!-- <script type="text/javascript" src="__TMPL__/Js/_doc.js"></script> -->
  </head>
  <body>
    <script>
      var url = "__URL__";
      var lids = [];//lids-选择的记录id数组，用来删除/修改；
      var defaultIDS = [];//
    </script>
    <div style="margin:0 auto; text-align:center; padding:10px;">
      <div style="padding:2px;">
        <layout name="Public:doc-header" cache="0" />
        <div style="width:80%; float:left;background-color:#FF9933">
          点击按钮生成bat文件<input type="button" value="生成bat" onclick="createBat()"/><br/>
          <div>
            <p>生成的bat文件会放到admin_doc目录下</p>
            <p>点击生成的bat文件，会调用http://swf/fp/FlashPrinter.exe下面的程序，生成swf文件放到admin_swf中</p>
            <p>然后把admin_doc文件夹里面的文档剪切到admin_complete中</p>
          </div>
        </div>
      </div>
      {/*<layout name="Public:doc-footer" cache="0" /> */}
    </div>

    <script>
      var url = "__URL__";
      function createBat(){
        ajax.send(url+"/ajaxCreateBat",'',function(obj){
          debug(obj);
        });
        
      }
	  $("tr:odd").css("background-color","#eee"); 
    </script>
  </body>
</html>
